#ifndef __TCP_H__
#define __TCP_H__

#include "stm32f4xx.h"
#include <stdio.h>
#include "wizchip_conf.h"
#include "delay.h"
#include "w5500.h"
#include "socket.h"

#define SOCK_TCPS             0
#define SOCK_HUMTEM			  0
#define SOCK_PING			  0
#define SOCK_TCPC             1
#define SOCK_UDPS             2
#define SOCK_WEIBO      	  2
#define SOCK_DHCP             3
#define SOCK_HTTPS            4
#define SOCK_DNS              5
#define SOCK_SMTP             6
#define SOCK_NTP              7

void do_tcp_client(void);
void do_tcp_server(void);
#endif
